package com.hns.tool.export.pdf;

/**
 * PDF单元格字段及对齐方式实体类
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
public class CellField {
	/**
	 * 表格与实体对应字段名
	 */
	private String fieldName;

	/**
	 * 对齐方式
	 */
	private Integer align;

	public String getFieldName() {
		return fieldName != null ? fieldName.trim() : fieldName;
	}

	public CellField setFieldName(String fieldName) {
		this.fieldName = fieldName;
		return this;
	}

	public Integer getAlign() {
		return align == null ? 0 : align;
	}

	public CellField setAlign(Integer align) {
		this.align = align;
		return this;
	}

}
